package com.example.inoculations.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 管理员实体类
 * </p>
 *
 * @author meirui
 * @since 2022-11-19
 */
@Data
@Accessors(chain = true) //使用链式写法
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String idcard;

    private String telephone;

    private String name;

    private String password;

    private String place;

    private String avatar;

}
